package com.ibeeking.found.common.constants;

import java.math.BigDecimal;

/**
 * @ClassName GlobalConstant
 * @Description 全局常量
 * @Author ibeeking
 * @Date 2020-12-01 19:02
 **/
public class GlobalConstant {

    public static final Integer ZERO = 0;

    public static final Integer ONE = 1;

    /**
     * 全部标识
     */
    public static final Integer ALL_FLAG = -1;

    //批量
    public static final Integer BATCH_SAVE = 900;

    /**
     * 父id
     */
    public static final Long PARENT_ID = ZERO.longValue();

    public static final String PARENT_ID_STR = "000000";

    public static final String PARENT_NAME = "顶层目录";


    public static final String BLANK = "空白";


    /**
     * 加密标识
     */
    public static final String ENCRYPT = "******";

    /**
     * 全局端默认租户id
     */
    public static final Integer tenantId = -1;

    /**
     * 行业定义类型值
     */
    public static final String GLOBAL_INDUSTRY_TYPE_KEY = "global_industry_type";

    /**
     * 会员等级前缀
     */
    public static final String MEMBER_LEVEL_CODE_PREFIX = "LV";

    /**
     * 是
     */
    public static final String YES = ONE.toString();
    /**
     * 否
     */
    public static final String NO = ZERO.toString();

    /**
     * 工单
     */
    public static final String GD = "GD";

    /**
     * 月、日数字转字符串长度
     */
    public static final Long DATE_MONTH_LENGTH = 2L;

    /**
     * 工单末尾计数长度
     */
    public static final Long GD_COUNT_LENGTH = 4L;

    public static final int ONE_HUNDRED = 100;

    /**
     * 分转元100倍s
     */
    public static final BigDecimal ONE_HUNDRED_DECIMAL = new BigDecimal(ONE_HUNDRED);

    /**
     * 字符连接标识
     */
    public static final String LINK_FLAG_ARROW = ">";

    public static final Integer TEN = 10;

    /**
     * 店铺id 0
     */
    public static final Long SHOP_ID_ZERO = 0L;

    public static final String SYSTEM_OPERATION_DESCRIPTION = "系统自动操作";

}
